package edu.nf.homework.dao.impl;

import edu.nf.homework.annotation.Component;
import edu.nf.homework.dao.Payment;

/**
 * @author CSY
 * @date 2025 - 04 - 16
 */
@Component("creditcard")
public class CreditCardPayment implements Payment {
    @Override
    public void pay(double amount) {
        System.out.println("信用卡支付:" + amount+"元");
    }
}
